package com.ss.android.article.browser.view.user;

import android.support.v4.app.Fragment;
import android.view.View.OnClickListener;
import android.view.View;

final class ac implements View.OnClickListener {
    private final UserActionHistoryActivity a;

    ac(UserActionHistoryActivity arg1) {
        this.a = arg1;
    }

    public final void onClick(View arg3) {
        if(UserActionHistoryActivity.a(this.a) != null) {
            Fragment v0 = UserActionHistoryActivity.b(this.a)[UserActionHistoryActivity.a(this.a).getCurrentItem()];
            if((v0 instanceof t)) {
                if(UserActionHistoryActivity.g(this.a)) {
                    ((t)v0).c();
                    this.a.a();
                }
                else {
                    ((t)v0).e();
                    this.a.b();
                }
            }
        }
    }
}

